package router

import (
	"beesoft.ink/application/media/app/api/text"
	"github.com/kataras/iris/v12"
)

func Text(router iris.Party) {
	r := router.Party("/text")

	TextChat(r)
}
func TextChat(router iris.Party) {
	r := router.Party("/chat")

	r.Get("/sse", text.Text.Sse)
	r.Get("/stream", text.Text.Stream)
}
